package test.chain.beanbyabstract;

import org.springframework.stereotype.Component;

@Component
public abstract class RuleHandler {

	protected RuleHandler nextHandler;

	public abstract boolean isMatch(int[] l, int[] auditRule);

	public RuleHandler getNextHandler() {
		return nextHandler;
	}

	public void setNextHandler(RuleHandler nextHandler) {
		this.nextHandler = nextHandler;
	}
	
}